create xmldoc/autogen directory in makedoc, it is required for multiple targets.
authortsteven4 <tsteven4@gmail.com>
Sun, 2 Aug 2015 19:57:41 +0000 (13:57 -0600)
committertsteven4 <tsteven4@gmail.com>
Sun, 2 Aug 2015 19:57:41 +0000 (13:57 -0600)
gpsbabel/xmldoc/makedoc.in

index fbbe444f653d3b08e89cffb136e5d767de77acac..61aefc2172bb6175822e74fd2d219066f56bffdb 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 
 #
-# makedoc.in is used to generate makedoc.   Editing makedoc is a bad ide.
+# makedoc.in is used to generate makedoc.   Editing makedoc is a bad idea.
 #
 
 @options;
@@ -93,7 +93,7 @@ sub includef {
 $dir = $0;
 $dir =~ s:/.*$::;
 
-
+@agdir=`mkdir -p $dir/autogen`;
 open PARTS, ">$dir/autogen/_parts.xml";
 print PARTS qq(<!-- This document is automatically generated. -->\n);
 print PARTS qq(<!ENTITY formats SYSTEM "_formats.xml">\n);